package com.sh.business.domain.bo;

import com.sh.business.domain.Feedback;
import com.sh.common.mybatis.core.domain.BaseEntity;
import com.sh.common.core.validate.AddGroup;
import com.sh.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import com.sh.common.translation.constant.TransConstant;
import com.sh.common.translation.annotation.Translation;

/**
 * 用户反馈业务对象 bms_feedback
 *
 * @author ruoyi
 * @date 2025-01-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = Feedback.class, reverseConvertGenerate = false)
public class FeedbackBo extends BaseEntity {

    /**
     * 公告ID
     */
    @NotNull(message = "公告ID不能为空", groups = { EditGroup.class })
    private Long feedbackId;

    /**
     * 反馈内容
     */
    @NotBlank(message = "反馈内容不能为空", groups = { AddGroup.class, EditGroup.class })
    private String feedbackContent;

    /**
     * 反馈图片
     */
    private String feedbackImg;

    /**
     * 回复内容
     */
    private String replayContent;

    /**
     * 状态（0待处理 1已处理）
     */
    private Boolean status;


}
